#import "WTTableView.h"

@implementation WTTableView
- (void)textDidEndEditing:(NSNotification *)notification {
    if([[[notification userInfo] valueForKey:@"NSTextMovement"] intValue] == 
                        NSReturnTextMovement) {
    NSMutableDictionary *newUserInfo;
    newUserInfo = [[NSMutableDictionary alloc] 
                            initWithDictionary:[notification userInfo]];
    [newUserInfo setObject:[NSNumber numberWithInt:NSIllegalTextMovement]
                                forKey:@"NSTextMovement"];
    notification = [NSNotification notificationWithName:[notification name]
                                object:[notification object]
                                userInfo:newUserInfo];
    [super textDidEndEditing:notification];
    [newUserInfo release];
    [[self window] makeFirstResponder:self];
} else {
    [super textDidEndEditing:notification];
    }
}
@end
